﻿using System;
using ShuttleBus.AdminMessages;

namespace ShuttleBus
{
    public interface ITransport
    {
        event Action<object> MessageArrived;
        event Action<SubscriptionMessage> HandleAdministrativeMessage;
        void Start();
        void Stop();
        void Send(TransportMessage message, Subscription subscription);
    }
}